<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据类型和变量</title>
    <script src="test.js"></script>
</head>
<body>
<button type="button" onclick="test1()" style="width: auto;height: 50px;background-color: blue;color: aliceblue">
    数据类型和变量测试1
</button>
<br><br>
<button type="button" onclick="test2()" style="width: auto;height: 50px;background-color: blue;color: aliceblue">NaN
</button>
<br><br>
<button type="button" onclick="test3()" style="width: auto;height: 50px;background-color: blue;color: aliceblue">数组
</button>
<br><br>
<button type="button" onclick="test4()" style="width: auto;height: 50px;background-color: blue;color: aliceblue">对象
</button>

<br><br>
<button type="button" onclick="testVar()" style="width: auto;height: 50px;background-color: blue;color: aliceblue">
    var作用域
</button>
<br><br>
<button type="button" onclick="testVar2()" style="width: auto;height: 50px;background-color: blue;color: aliceblue">
    var作用域2
</button>
<br><br>
</body>
</html>